package com.rpc.services.impls;

import com.rpc.anoncations.RpcService;
import com.rpc.services.HelloWorld;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @Auther: pengjf
 * @Date: 2018-08-06 14:39
 * @Description:HelloWorld接口的实现类
 */
@RpcService
public class HelloWorldImpl implements HelloWorld {
    private static Logger logger=LoggerFactory.getLogger(HelloWorldImpl.class);
    @Override
    public String sayHello(String say) {
        logger.info("执行服务端方法：say方法，参数："+say);
        return "返回："+say;
    }
}
